/**
 * 
 */
package com.taikang.t.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 全句匹配
 * @author fee
 *
 */
@Entity
@Table(name = "FULL_WORD", schema = "T")
public class FullWord implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	private Long id;
	
	@Column(name = "SAY", unique = true, nullable = false)
	private String say;
	
	@Column(name = "ANSWER", unique = true, nullable = false)
	private String answer; 
	
	@Temporal(TemporalType.DATE)
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "C_TIME", unique = true, nullable = false)
	private Date cTime; 
	/**
	 * 
	 */
	public FullWord() {
		// TODO Auto-generated constructor stub
	}
	public FullWord(Long id, String say, String answer, Date cTime) {
		super();
		this.id = id;
		this.say = say;
		this.answer = answer;
		this.cTime = cTime;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getSay() {
		return say;
	}
	public void setSay(String say) {
		this.say = say;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Date getcTime() {
		return cTime;
	}
	public void setcTime(Date cTime) {
		this.cTime = cTime;
	}
	
	
	

}
